<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="refresh" content="0; url=/flowers">
    <title>鲜花管理系统</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
    <style>
        body {
            font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            height: 100vh;
            background-image: url('./bg.jpg') !important;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .loading-container {
            text-align: center;
            padding: 2rem;
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            max-width: 500px;
            width: 90%;
        }
        .flower-icon {
            font-size: 4rem;
            color: #ff69b4;
            animation: pulse 1.5s infinite;
            margin-bottom: 1rem;
        }
        h1 {
            color: #ff1493;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }
        .redirect-text {
            margin-top: 1.5rem;
            color: #6c757d;
        }
        .redirect-link {
            color: #ff1493;
            text-decoration: none;
            font-weight: 500;
        }
        .redirect-link:hover {
            text-decoration: underline;
        }
        .loading {
            display: inline-block;
            position: relative;
            width: 80px;
            height: 13px;
        }
        .loading div {
            position: absolute;
            width: 13px;
            height: 13px;
            border-radius: 50%;
            background: #ff69b4;
            animation-timing-function: cubic-bezier(0, 1, 1, 0);
        }
        .loading div:nth-child(1) {
            left: 8px;
            animation: loading1 0.6s infinite;
        }
        .loading div:nth-child(2) {
            left: 8px;
            animation: loading2 0.6s infinite;
        }
        .loading div:nth-child(3) {
            left: 32px;
            animation: loading2 0.6s infinite;
        }
        .loading div:nth-child(4) {
            left: 56px;
            animation: loading3 0.6s infinite;
        }
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            }
        }
        @keyframes loading1 {
            0% {
                transform: scale(0);
            }
            100% {
                transform: scale(1);
            }
        }
        @keyframes loading3 {
            0% {
                transform: scale(1);
            }
            100% {
                transform: scale(0);
            }
        }
        @keyframes loading2 {
            0% {
                transform: translate(0, 0);
            }
            100% {
                transform: translate(24px, 0);
            }
        }
    </style>
</head>
<body>
    <div class="loading-container">
        <i class="bi bi-flower3 flower-icon"></i>
        <h1>鲜花管理系统</h1>
        <div class="loading">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
        </div>
        <p class="redirect-text">正在加载系统，请稍候...</p>
        <p>如果您未被自动重定向，请<a href="/flowers" class="redirect-link">点击这里</a>。</p>
    </div>
</body>
</html> 